package com.haha.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haha.common.utils.PageUtils;
import com.haha.gulimall.product.entity.CategoryEntity;
import com.haha.gulimall.product.vo.Category2VO;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author xiongweizhong
 * @email xiongwei@gmail.com
 * @date 2022-06-22 23:36:06
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    void removeMenuByIds(List<Long> asList);

    Long[] getCategroyPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    Map<String, List<Category2VO>> getCategroyJson();
}

